package com.terana.lbs.marketing.web.rpc;

import com.tarena.lbs.marketing.api.MarketingApi;
import com.terana.lbs.marketing.web.service.CouponService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.List;

@Component
public class MarketingApiImpl implements MarketingApi {
    @Autowired
    private CouponService couponService;
    @Override
    public List<Integer> getAvailableIds() {
        return couponService.getAvalicableIds();
    }
}
